<template>
    <div>
        我是生命周期组件的子组件
    </div>
</template>

<script setup>
import { onUnmounted } from 'vue'
onUnmounted(() => {
    console.log('lifechild', 'onUnmounted');
})
</script>
<style scoped>

</style>